//手机号+验证码 登录

import React from "react";
import Navbar from "../../components/navbar";
import styles from "./css/login.module.css";
import { Form, Input, Button, Toast } from "antd-mobile";
import CodeLogin from "./components/CodeLogin";
import { Tabs } from "antd-mobile";
import QRCode from "react-qr-code";
function Reg() {
  return (
    <div className={styles.box}>
      <Navbar title="登录" />
      <Tabs>
        <Tabs.Tab title="手机号登录" key="fruits">
          <CodeLogin></CodeLogin>
        </Tabs.Tab>
        <Tabs.Tab title="密码登录" key="vegetables">
          西红柿
        </Tabs.Tab>
        <Tabs.Tab title="扫码登录" key="animals">
          <QRCode value="hey" />
        </Tabs.Tab>
      </Tabs>
    </div>
  );
}

export default Reg;
